<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="./vue.global.js"></script>

</head>
<body>
    <div class="app">
        <h2 v-bind:title="msg">{{message}}</h2>
        <div>
            {{333+333}}<br/>
        </div>
        <button v-on:click="xxx1">按钮</button>
    </div>
    <script>
        const app = Vue.createApp({
            data(){
                return{
                    message:"hello",
                    msg:555
                }
            },
            methods:{
                xxx(){
                    console.log("xxx方法")
                },
                xxx1(){
                    console.log("xxx1方法")
                }
            }
        })
        app.mount(".app")
    </script>
</body>
</html>